package com.xyd.mapper;

import com.xyd.entity.Admin;
import org.apache.ibatis.annotations.Param;

/**
 * @author 86186
 */
public interface AdminMapper {
   /**
    * 管理员登录
    * @param eaName
    * @param eaPassword
    * @return
    */
   Admin LoginAdmin(@Param("eaName")String eaName, @Param("eaPassword")String eaPassword);

   /**
    * 管理员注册
    * @param admin
    * @return
    */
   Boolean RegAdmin(Admin admin);

}
